package com.ruoyi.syf.handler.deleteChain.chainHandler;

import com.ruoyi.syf.handler.deleteChain.DeleteChainHandler;
import com.ruoyi.syf.service.IRiskCheckTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TaskHandler extends DeleteChainHandler {

    @Autowired
    private IRiskCheckTaskService taskService;

    @Override
    public void handleDelete(List<Long> ids) {
        taskService.deleteByIds(ids);
    }
}
